<script setup>
import { useUserStore } from '../store/user';
const store = useUserStore()
</script>

<template>
    <div class="box">
        <div v-if="store.userInfo.username">{{ store.userInfo.username }}</div>
        <div v-else>请先登录</div>
    </div>
</template>
  
<style lang="less">

</style>
  